package com.demo1;
import java.awt.*;
import java.io.File;
import java.io.IOException;

import javax.swing.*;
import javax.swing.table.TableModel;
import javax.imageio.*;

public class Class extends JFrame {
	JPanel jp1;
	Image im;
	JLabel jt1;
	
	public static void main(String[] args) {
		Class class1=new Class();
		
	}
	public Class(){
		
		jt1=new JLabel(new ImageIcon("adasd/cc.jpg"));
		jp1=new JPanel();
		jp1.add(jt1);
		this.add(jp1);
		this.setSize(200,200);
		this.setVisible(true);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

}
